<!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"></meta>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta>
    <meta name="viewport" content="width=device-width, initial-scale=1"></meta>
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后. -->
    <title>ERP管理系统</title>

    <link href="/include/bootstrapadmin/css/style.default.css" rel="stylesheet"></link>
    <script src="/include/bootstrapadmin/js/jquery-1.11.1.min.js"></script>
    <style type="text/css">
    body {
    	background-color: #FFFFFF;
    }
    </style>
</head>
<body>
<?php 
$user = App_User::getCurrentUser();
if($user){
	echo $this->layout()->content;
}else{
	echo '请先登录好吗！';
}
?> 
</body>
</html>